package com.qf.test;

import com.qf.dao.BookDao;
import com.qf.dao.daoImpl.BookDaoImpl;
import com.qf.service.BookService;
import com.qf.service.serviceImpl.BookServiceimpl;

public class test {
    public static void main(String[] args) {
        BookDao bookDao = new BookDaoImpl();
        BookService bookService = new BookServiceimpl();
//        bookDao.delete(7);
//        bookDao.addOneBook(new Book("a",12,"d","d","f"));
//        bookService.addBook(new Book("sa",15,"s","sa","sa"));
        //List<Book> books = bookDao.selectAll();
//        List<Book> books = bookService.selectAll();
//        List<Book> books = bookDao.selectAllByPage();
//        System.out.println(books);
    }
}
